<?php
// bookstore api template extension for calendar detail
defined('_JEXEC') or die('Restricted Access');
?>
 
    
	<div class="results" >
        <div class="result" id="item<?php echo $local->details[0]->isbn; ?>" style="float: left; background-color:inherit; width: 100%;" >
            <div id="box<?php echo $local->details[0]->isbn; ?>" style="float: left; width: 0px 0px 0px 0px;" ></div>
            <div style="float: left; margin: 5px 5px 5px 5px;">
                <h1 style="margin: 0px 0px 0px 0px; width:560px"><?php echo ucwords( strtolower($local->details[0]->title)); ?></h1>
                <h2 style="margin: 0px 0px 0px 2px;"><?php echo ucwords( strtolower($local->details[0]->author)); ?></h2>
                <div style="margin: 0px 0px 0px 10px; float:left; width:450px">
                    <span style="margin: -1px 0px 0px 0px;">ISBN:&nbsp;<?php echo $local->details[0]->isbn; ?></span>
                    <br />
                    <span id="sect100000" style="margin: 0px 0px 0px 0px;">Section:
						<?php 
                        (empty($local->details[0]->section_alias))? $text = $local->details[0]->dept_cat_desc : $text = $local->details[0]->section_alias ;
                        echo $text
                        ?>
					</span>
                </div>
            
               <div id="ann<?php echo $local->details[0]->isbn; ?>" style="float:left; width:100px;height:20px; margin: 15px 0px 0px 0px; ">
                   <a id="ann1" class="ann" href="#" name="<?php echo $local->details[0]->isbn; ?>">More Book Details</a>
               </div>
          
            </div>
		</div>
	</div>
